package com.example.springboot_jap_model.dao;

import com.example.springboot_jap_model.domain.RoleAndAuthority;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RoleAndAuthorityDao extends JpaRepository<RoleAndAuthority, Long> {

    List<RoleAndAuthority> findByRoleId(Long roleId);
}
